package com.luoxiang.socialandroid.activity

import android.content.Intent
import android.os.Bundle
import com.bumptech.glide.Glide
import com.luoxiang.socialandroid.R
import com.luoxiang.socialandroid.base.BaseActivity
import com.luoxiang.socialandroid.databinding.ActivityOnlineMatchingFailureBinding

class OnlineMatchingFailureActivity : BaseActivity() {
    private lateinit var mViewBinding: ActivityOnlineMatchingFailureBinding

    override fun initLayout(savedInstanceState: Bundle?) {
        mViewBinding = ActivityOnlineMatchingFailureBinding.inflate(layoutInflater)
        setContentView(mViewBinding.root)
        Glide.with(this)
            .load(R.drawable.icon_online_matching_bg)
            .into(mViewBinding.ivFailsMatching)
    }

    override fun initView() {

    }

    override fun initListener() {
        mViewBinding.view17.setOnClickListener {
            val intent = Intent(
                this@OnlineMatchingFailureActivity,
                OnlineMatchingActivity::class.java
            )
            startActivity(intent)
            finish()
        }
        mViewBinding.imageView7.setOnClickListener {
            finish()
        }
    }
}